/*
 * @Author: Starfish_DL
 * @Date: 2020-11-09 21:25:12
 * @LastEditors: Starfish_DL
 * @LastEditTime: 2020-11-09 21:31:31
 * @CurrentVersion: 1.0
 * @Description: 
 */

#ifndef CSTACK_H
#define CSTACK_H 

class cStackLinkNode
{
public:
    char data;
    cStackLinkNode *next;
    cStackLinkNode();
    ~cStackLinkNode();
};

class cStackLink
{
    //done the class of linkstack has finished.
public:
    cStackLinkNode *s;
    cStackLink();
    void Push(char e);
    char Pop();
    char GetTop();
    ~cStackLink();
};

#endif // !CSTACK_H